package com.model.auto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 专家信息信息
 * </p>
 *
 * @author astupidcoder
 * @since 2022-09-14
 */
@Data
public class ExpertInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 专家id
     */
    @TableId(value = "expert_id", type = IdType.AUTO)
    private Integer expertId;

    /**
     * 姓名
     */
    private String name;

    /**
     * 头像地址
     */
    private String imagePath;

    /**
     * 专家简介
     */
    private String introduce;

    /**
     * 所属分部
     */
    private String address;

    /**
     * 排序字段
     */
    private Integer sortNum;

    /**
     * 是否正常0正常1删除
     */
    private Integer enabled;

    private Long createBy;

    private String createName;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private LocalDateTime createDate;

    private Long updateBy;

    private String updateName;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private LocalDateTime updateDate;
}
